package com.serverclient.cglib.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;

import com.serverclient.cglib.beanregister.BeanRegister;

/**
 * 启动接口调用注解
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(BeanRegister.class)
public @interface EnableCglibServerClient {
	/**
	 * 接口调用类所在的包
	 */
	public String[] packages() default {"com.serverclient.cglib.service"};
}
